<%@ page language="java" import="java.util.*,com.nail.zhaogr.model.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ include file="/commons/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
   	<%@ include file="/commons/meta.jsp" %> 
   	<link href="<c:url value="/widgets/simpletable/simpletable.css"/>" type="text/css" rel="stylesheet">
  </head>
  <body>
	<%@include file="/commons/top.jsp" %>
  	<div id="sub-header" class="twidth">
  	
  	<div id="navsub">
		<div class="l"></div>
		<div class="r"></div>
		<div class="m">
		
		<div style="width:600px;float:left;">
			<a href="${ctx}/">首页</a> → <a href="#">成都找工人</a> → <a href="#">装修工人</a>
		</div>
		</div>
	</div>
	
  	<%@include file="front/category.html" %>
	
	<div id="middle">
    <div id="directory" class="mframe mR" style="width:724px;float:left;">
      <!-- Content -->
	  <div id="page" class="box">
	  <c:if test="${page.totalCount>0}">
		<ol class="results" style="padding-left: 10"> 
		 <c:forEach items="${page.result}" var="item" varStatus="status">
		 	<li>
		 	<p>
		 	<a target="_blank" class="title" href="${ctx}/PublishInfo/show.do?publishInfoId=${item.publishInfoId}">
			${item.category.categoryName}-${item.name}</a>
			<a  target="_blank" href="${ctx}/PublishInfo/list.do?categoryId=${query.categoryId}" class="addr">${item.cityTwo}</a>
			-<a target="_blank" href="${ctx}/PublishInfo/list.do?cityId=${item.cityId}&categoryId=${query.categoryId}" class="addr">${item.cityThree}</a>
			</p>
			 <p>
				<span class="nonhigh">个人说明：</span><span style="color:#000000">${item.profile}</span>
			 </p>
			 <p>
				<span style="color:#000000;line-height: 120%">服务区域：</span> <span style="color:#24d">${item.serviceArea}</span>
			 </p>
			 <p>
			  <span class="nonhigh">最新评论：${item.comment.contents}</span> </p>
		  </li>
		 </c:forEach>
		</ol>
		</c:if>
		<simpletable:pageToolbar page="${page}"  isShowPageSizeList="false">
		</simpletable:pageToolbar>
	  </div>
    </div>
    
    <%@include file="/commons/hot.html" %>	
  	</div>
  	<jsp:include page="/commons/bottom.html"  flush="true"></jsp:include>
  	</div>
  </body>
  <script>
  	document.getElementById("psnPage").className="thisclass";
  </script>
</html>
